= error_messages_for resource_sym

= form_for resource do |f|
  %p
    %b= f.label :title
    %br
    = f.text_field :title
    
  %p
    %b= f.label :description
    %br
    = f.text_field :description
    
  %p#article_text
    %b= f.label :post
    %br
    ~ f.text_area :post

  %p
    %b= f.label :format
    = f.select :format, Governor::Formatters.available_formatters.keys
  
  = render_plugin_partial('bottom_of_form', :locals => {:f => f})
  
  %p
    = f.submit "#{controller.action_name.titleize} Article"
